package com.lechuang.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@Schema(description = "商品列表返回实体")
public class GoodsSpuListVO implements Serializable {
    @Schema(description = "商品id")
    private Long id;

    @Schema(description = "商户名称")
    private String tenantName;

    @Schema(description = "分类")
    private String categoryName;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "属性")
    private String attribute;

    @Schema(description = "商品单数")
    private Integer goodsNum;

    @Schema(description = "销量")
    private Long saleNum;

    @Schema(description = "上下架状态，1：上架，2：下架")
    private Integer goodsStatus;

    @Schema(description = "商品类型，1：单品，2：套餐")
    private Integer goodsType;
}
